package com.bood.shimmer.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 项目-相关配置
 * </p>
 *
 * @author：bood
 * @date：2020/12/2
 */
@Component
@ConfigurationProperties(prefix = "shimmer")
public class ShimmerConfig {

    /**
     * 上传路径
     */
    private static String filePath;

    public void setFilePath(String filePath) {
        ShimmerConfig.filePath = filePath;
    }

    public static String getfilePath() {
        return filePath;
    }

}
